package com.xxiongb.business.repository.entity;

import java.util.Date;
import java.util.Set;

import org.springframework.data.mongodb.core.mapping.Document;

@Document(collection="chat_group")
public class ChatGroup {
	private String id;
	private String createUserID;
	//其中包括创建组者
	private Set<SimpleUser> users;
	
	private Date chatGroupDate;

	public String getCreateUserID() {
		return createUserID;
	}

	public void setCreateUserID(String createUserID) {
		this.createUserID = createUserID;
	}

	public Set<SimpleUser> getUsers() {
		return users;
	}

	public void setUsers(Set<SimpleUser> users) {
		this.users = users;
	}

	public Date getChatGroupDate() {
		return chatGroupDate;
	}

	public void setChatGroupDate(Date chatGroupDate) {
		this.chatGroupDate = chatGroupDate;
	}

	public String getId() {
		return id;
	}
	
	
	
}
